﻿using System.Runtime.Serialization;

namespace Sfd.Entities
{
    [DataContract(Namespace="http://schemas.c2i.fr")]
    [KnownType(typeof(AzureSyncProject))]
    [KnownType(typeof(AzureSyncProjectCollection))]
    public class AzureUser
    {
        public AzureUser()
        {
            Projects = new AzureSyncProjectCollection();
        }

        [DataMember]
        public string UserName { get; set; }
        [DataMember]
        public string Password { get; set; }
        [DataMember]
        public AzureSyncProjectCollection Projects { get; internal set; }
    }
}
